<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use App\Handlers\WeconHandler;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Redis;

class DedustingLibrary extends Model
{
    const TYPE_1 = 1;
    const TYPE_2 = 2;
    const TYPE_3 = 3;
    const TYPE_TEXT = ['1' => '高压放电式类', '2' => '紫外线灯照射式类', '3' => '电解式类'];

    const COVER_PATH = 'dedusting/library/cover';
    const QUESTION_IMAGE_PATH = 'dedusting/library/question/image';
    const QUESTION_VIDEO_PATH = 'dedusting/library/question/video';
    const ANSWER_IMAGE_PATH = 'dedusting/library/answer/image';
    const ANSWER_VIDEO_PATH = 'dedusting/library/answer/video';

    protected $table = 'xfy_dedusting_libraries';

}